package com.lqt.house.domain;

import java.io.Serializable;

/**
 * 城市辖区
 * @author K0890003
 *
 */
public class District implements Serializable {

	private static final long serialVersionUID = 6791798628870212763L;
	
	/**
	 * 辖区id
	 */
	private Long id;
	/**
	 * 所属城市
	 */
	private Long city;
	/**
	 * 名称
	 */
	private String name;
	
	/**
	 * 获取 id
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置 id
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取 city
	 * @return the city
	 */
	public Long getCity() {
		return city;
	}
	/**
	 * 设置 city
	 * @param city the city to set
	 */
	public void setCity(Long city) {
		this.city = city;
	}
	/**
	 * 获取 name
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置 name
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "District [id=" + id + ", city=" + city + ", name=" + name + "]";
	}
	
}
